package web

import (
	"github.com/gin-gonic/gin"
	swaggerFiles "github.com/swaggo/files"
	ginSwagger "github.com/swaggo/gin-swagger"
)

func RegisterSwaggerDocs(app *gin.RouterGroup, instance string) {
	// 注册接口文档
	//app.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler, ginSwagger.InstanceName(instance), ginSwagger.DefaultModelsExpandDepth(-1)))
	app.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler, ginSwagger.InstanceName(instance), ginSwagger.DefaultModelsExpandDepth(-1)))

}
